const path = require("path");

const RECORD_DIR = path.resolve(__dirname, '../records')

const DE_MAIN = 'http://172.16.10.142'

/**
 * 推动到视图
 * @param {*} socket 
 * @param {*} text 
 */
function pushVision(socket, text) {
  socket.emit('s-v-push-message', text)
}

function printTip(text) {
  console.log(`------------${text}------------`)
}

module.exports = {
  RECORD_DIR,
  pushVision,
  printTip,
  DE_MAIN
}

